package com.study.talk.data.model;


import com.study.common.annotation.Desc;

/**
 * @author thor
 * @since 2023-12-18
 */

public class Message {

    private Integer id;

    @Desc("是否已读")
    private Integer status;

    private Integer userId;

    private String message;

    private Integer type;


    public Message(Integer id, Integer userId,Integer status,String message, Integer type) {
        this.id = id;
        this.userId = userId;
        this.status = status;
        this.message = message;
        this.type = type;
    }

    public Message() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }
}
